package com.css.apps.base.user.action;

import com.css.apps.base.user.po.UserInfoPageVo;
import com.css.util.Messages;
import com.opensymphony.xwork.Action;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

@SuppressWarnings("serial")
public class GetUserFamilyMini extends UserAction {
	private static Log log = LogFactory.getLog(GetUserFamilyMini.class);
	private String userId;
	private UserInfoPageVo userInfoPageVo;
	private String operFlag = "add";

	@SuppressWarnings("unchecked")
	public String userGo() {
		try {
			return Action.SUCCESS;
		} catch (Exception ex) {
			log.error(ex.getMessage(), ex);
			setMessage(Messages.getString("systemMsg.exception"));
			return Action.ERROR;
		}
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public UserInfoPageVo getUserInfoPageVo() {
		return userInfoPageVo;
	}

	public void setUserInfoPageVo(UserInfoPageVo userInfoPageVo) {
		this.userInfoPageVo = userInfoPageVo;
	}

	public String getOperFlag() {
		return operFlag;
	}

	public void setOperFlag(String operFlag) {
		this.operFlag = operFlag;
	}
}
